﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <asp:Label ID="lblDate" runat="server"></asp:Label>
                <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btnSelectCalendar" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>
      <asp:Button ID="btnSelectCalendar" runat="server" Text="选择日期(无刷新)" OnClick="btnSelectCalendar_Click" />
        <asp:Button ID="btnSelectCalendarRefresh" runat="server" Text="选择日期(刷新)" OnClick="btnSelectCalendarRefresh_Click" />
    </div>
      
    </form>
</body>
</html>
